.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

a {
    cursor: pointer;
    display: inline-block
}

#main {

    width: 998px;
    margin: 0 auto;
    position: relative;
    z-index: 10;

    .box-content {
        position: relative;
        zoom: 1;
        display: block;
        padding: 0 10px 0px 8px;
        background: url("../images/bg-box.png") left bottom repeat-y;
        overflow: hidden;

        .crumbs {
            height: 25px;
            margin: 5px 0 20px 8px;
            color: #333;
            line-height: 25px;

            line-height: 25px;

            a {
                color: #333;
            }
        }

        .search-wrapper {
            background: url("../images/list-bar.gif") 190px top repeat-y;

            .sort-infor {
                float: left;
                width: 190px;

                background: #ffffff;

                .ztree {
                    margin: 0;
                    padding: 5px;
                    color: #333;

                    li {
                        padding: 0;
                        margin: 0;
                        list-style: none;
                        line-height: 24px;
                        text-align: left;
                        white-space: nowrap;
                        outline: 0;

                        a {
                            padding: 1px 3px 0 0;
                            margin: 0;
                            cursor: pointer;
                            height: 17px;
                            color: #333;
                            background-color: transparent;
                            text-decoration: none;
                            vertical-align: top;
                            display: inline-block;
                        }

                        .switch {
                            width: 18px;
                            height: 18px;
                        }

                        span {
                            line-height: 24px;
                            display: inline-block;
                            cursor: pointer;
                        }

                        .button {
                            vertical-align: middle;
                            background-image: url("../images/zTreeStandard.png");

                        }

                        .ico_open {
                            margin-right: 2px;
                            background-position: -110px -16px;
                            vertical-align: top;
                            *vertical-align: middle;
                        }

                        .root_close {
                            background-position: -74px -54px;
                        }

                        .root_open {
                            background-position: -92px -54px;
                        }
                    }
                }

                .sellers {
                    overflow: hidden;
                    padding-bottom: 25px;

                    .sellers-item {
                        margin-top: 10px;

                        .sellers-price {
                            width: 109px;
                            height: 20px;
                            margin: 0 auto;
                            overflow: hidden;
                            font-family: '微软雅黑';

                            .red {
                                color: #D70000;
                                font-weight: bold;
                                font-family: "微软雅黑";
                                padding-right: 7px;
                            }
                        }

                        .sellers-img {
                            width: 139px;
                            height: 139px;
                            margin: 0 auto;
                            border: 1px solid #e8e8e8;

                            a {
                                display: block;
                                width: 127px;
                                height: 127px;
                                margin: 6px;
                                text-align: center;


                                img {
                                    display: inline-block;
                                    max-width: 100%;
                                    max-height: 100%;
                                    vertical-align: middle;
                                }
                            }
                        }

                        .sellers-detail {
                            width: 144px;
                            margin: 10px auto;
                            overflow: hidden;
                            color: #666666;

                            a {
                                display: inline-block;
                                overflow: hidden;
                                height: 2.3em;
                                color: #333;
                            }
                        }
                    }
                }
            }

            .book-infor {
                float: right;
                width: 786px;
                background-color: #ffffff;

                .search-condition {

                    .byPrice,
                    .byDiscount {
                        height: 32px;
                        padding-left: 4px;
                        margin-left: 12px;
                        line-height: 32px;
                        overflow: hidden;
                        font-weight: bold;
                        color: #333333;

                        .active {
                            background: #367CB4;
                            color: #ffffff;
                        }

                        span {
                            margin: 0 15px 0 3px;
                            padding: 1px;
                            font-weight: lighter;
                            cursor: pointer;
                        }
                    }



                    .byPrice {
                        border-bottom: 1px dashed #e0e0e0;

                    }

                    .terms-sort {
                        height: 33px;
                        margin: 10px 0 0 10px;
                        padding: 3px 8px 0 8px;
                        color: #333333;
                        border: 1px solid #d6d6d6;
                        border-top-color: rgb(214, 214, 214);
                        border-top-style: solid;
                        border-top-width: 1px;
                        border-top: 2px solid #2BA2E6;




                        .sort-classfiy {
                            float: left;
                            margin-top: 2px;

                            .check {
                                position: relative;
                                top: 3px;

                            }

                            .down {
                                padding: 0 15px 0 5px;
                                background-image: url("../images/down.png");
                                background-position: 90% -32px;
                                background-repeat: no-repeat;
                                border: 1px solid white;
                            }

                            .activeup {
                                background-image: url("../images/up.png");
                                border: 1px solid #EA701D;
                                background-color: #f4f4f4;
                                background-position: 90% 4px;
                                border-radius: 4px;

                            }


                            a,
                            p {
                                display: block;
                                float: left;
                                height: 22px;
                                line-height: 22px;
                                padding: 0 7px;
                                text-decoration: none;
                                cursor: pointer;
                            }

                            p {


                                .list-text {
                                    display: block;

                                    float: left;
                                    padding: 10px 7px;

                                    border: none;
                                    cursor: pointer;
                                    width: 9px;
                                    height: 3px;
                                    background: url("../images/list-text-n.gif") 50% 50% no-repeat;
                                }



                                .list-pic {
                                    background: url("../images/list-text.gif") 50% 50% no-repeat;
                                }
                            }

                            .gap {
                                float: left;
                            }
                        }

                        .jump {
                            float: right;

                            a {
                                display: block;
                                float: left;
                                padding: 15px 12px;

                                background: url("../images/dot.gif") 0 50% no-repeat;
                            }

                            .left {
                                padding: 15px 9px;

                                background: url("../images/left.gif") 0 50% no-repeat;
                            }

                            .right {
                                padding: 15px 9px;

                                background: url("../images/right.gif") 0 50% no-repeat;
                            }
                        }
                    }

                }

                #J_template {

                    .search-book-item {
                        float: left;
                        width: 184px;
                        padding: 25px 0;
                        border: solid 1px white;
                        cursor: pointer;
                        border-radius: 3px;


                        .search-book-img {
                            width: 160px;
                            height: 160px;
                            margin: 0 auto;
                            border: 1px solid #cccccc;
                        }

                        .bk-img-box {
                            display: block;
                            text-align: center;
                        }

                        img {
                            display: inline-block;
                            max-width: 100%;
                            max-height: 100%;
                            vertical-align: middle;
                        }

                        .search-book-detail {
                            width: 170px;
                            height: 53px;
                            margin: 10px auto;
                            overflow: hidden;
                            color: #1A66B3;
                        }

                        .search-book-price {
                            width: 170px;
                            height: 20px;
                            margin-bottom: 10px;
                            overflow: hidden;
                            text-align: center;
                            font-family: '微软雅黑';

                            span {
                                font-family: '宋体';
                                font-weight: lighter;
                            }
                        }

                        .red {
                            color: #D70000;
                            font-weight: bold;
                            font-family: "微软雅黑";
                            padding-right: 7px;
                        }

                        .btn {
                            width: 152px;
                            height: 23px;
                            margin: 0 auto;
                        }

                        .buy-btn {
                            display: block;
                            float: left;
                            width: 73px;
                            height: 23px;
                            background: url("../images/buy-btn.gif") no-repeat;
                            border: none;
                            cursor: pointer;
                        }

                        .save-btn {
                            display: block;
                            float: right;
                            width: 69px;
                            height: 23px;
                            background: url("../images/save-btn.gif") no-repeat;
                            border: none;
                        }
                    }

                    .bookList-text {
                        position: relative;
                        height: 182px;
                    }

                    .search-book-list {
                        padding: 0 19px 0 14px;
                        margin-left: 9px;
                        border-bottom: 1px solid #f4f4f4;
                        margin-top: 5px;
                    }

                    a {
                        color: #666666;
                        outline: none;
                    }

                    .bookList-text-img {
                        display: block;
                        position: absolute;
                        top: 15px;
                        left: 15px;
                        width: 150px;
                        height: 150px;
                        border: 1px solid #e6e6e6;
                    }

                    .bk-img-box {
                        display: block;
                        text-align: center;

                        img {
                            display: inline-block;
                            max-width: 100%;
                            max-height: 100%;
                            vertical-align: middle;
                        }
                    }

                    .bookList-text-title {
                        display: block;
                        position: absolute;
                        left: 179px;
                        top: 13px;
                        width: 576px;
                        height: 26px;
                        line-height: 26px;
                        overflow: hidden;
                        color: #1A66B3;
                        font-size: 14px;
                        border-bottom: 1px dashed #E0E0E0;
                    }

                    .bookList-text-infor {
                        position: absolute;
                        left: 179px;
                        top: 54px;
                        width: 579px;
                        height: 1em;
                        overflow: hidden;
                        color: #666666;

                        .bookList-text-publish {
                            margin: 0 10px;
                            color: #333333;
                        }
                    }

                    .bookList-text-detail {
                        display: block;
                        position: absolute;
                        left: 179px;
                        top: 85px;
                        width: 579px;
                        height: 5em;
                        overflow: hidden;
                        color: #666666;
                        text-indent: 2em;
                    }

                    .bookList-text-price {
                        position: absolute;
                        left: 179px;
                        top: 137px;
                        width: 579px;
                        height: 20px;
                        overflow: hidden;
                        color: #333333;

                        .red {
                            color: #D70000;
                            font-weight: bold;
                            font-family: "微软雅黑";
                            padding-right: 7px;
                        }

                        .lightRed {
                            color: #D70000;
                            padding-left: 7px;
                        }
                    }

                    .bookList-text-btn {
                        position: absolute;
                        left: 610px;
                        top: 134px;
                        width: 151px;

                        .buy-btn {
                            display: block;
                            float: left;
                            width: 73px;
                            height: 23px;
                            background: url("../images/buy-btn.gif") no-repeat;
                            border: none;
                            cursor: pointer;
                        }

                        .save-btn {
                            display: block;
                            float: right;
                            width: 69px;
                            height: 23px;
                            background: url("../images/save-btn.gif") no-repeat;
                            border: none;
                        }
                    }
                }


            }
        }
    }
}

.cpt-dlg-outer {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 2px;
    background: #4494F8;
    // background: #4494F8;
    overflow: hidden;

    .dlg-holder {
        position: relative;
        background: #fff;
        height: 100%;
    }

    table {
        border-collapse: collapse;
        border-spacing: 0;
        font-size: 12px;
        height: 100%;
        width: 100%;

        .header-holder {
            height: 30px;
            vertical-align: top;
            border-bottom: 1px solid #4494F8;
            background: #fff;
        }

        .dlg-header {
            position: relative;
            height: 30px;
            padding-right: 30px;
            // background: #00859D;
            // background-color: rgb(0, 133, 157);
            background-color: #F4F4F4;

            .no-icon {
                padding-left: 10px;
            }
        }

        .dlg-title {
            display: block;
            height: 30px;
            padding-left: 35px;
            line-height: 30px;
            color: #333;
            text-shadow: 5px 2px 6px #fff;
            text-align: left;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .dlg-close {
            display: block;
            position: absolute;
            zoom: 1;
            right: 2px;
            top: 1px;
            width: 27px;
            height: 27px;
            background: url("../images/btn-close-dlg.png") left top no-repeat;
            cursor: pointer;
            text-decoration: none;
            text-indent: -99999px;
        }

    }

    .content-holder {
        width: auto;
        vertical-align: top;
    }

    .dlg-alert {
        position: relative;
        min-height: 20px;
        font-size: 14px;
        _height: 50px;
        padding: 25px 10px 25px 60px;
        color: #333;
        font-weight: bolder;
        line-height: 20px;
    }

    .success {
        background-position: 0px top;
    }

    .alert-ico {
        display: block;
        position: absolute;
        left: 10px;
        top: 10px;
        width: 50px;
        height: 51px;
        background: url("../images/ico.png")-50px top no-repeat;
        background-position-x: 0px;
        background-position-y: top;
    }

    .footer-holder {
        height: 40px;

        .dlg-footer {
            height: 100%;
            text-align: center;

            button {
                margin: 0 5px;
                border: none;
                border-radius: 3px;
                padding: 2px 0px 2px 5px;
                color: #666666;
                font-size: 14px;
                font-weight: bolder;
                letter-spacing: 5px;
            }
        }
    }
}